package org.jeecg.modules.business.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 打印模板
 * @Author: jeecg-boot
 * @Date:   2023-03-11
 * @Version: V1.0
 */
@Data
@TableName("bus_print_template_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bus_print_template_info对象", description="打印模板")
public class BusPrintTemplate implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**关联租户*/
	@Excel(name = "关联租户", width = 15)
    @ApiModelProperty(value = "关联租户")
    private String tenantId;
	/**关联酒店*/
	@Excel(name = "关联酒店", width = 15)
    @ApiModelProperty(value = "关联酒店")
    private String hotelId;
	/**打印模板名称*/
	@Excel(name = "打印模板名称", width = 15)
    @ApiModelProperty(value = "打印模板名称")
    private String name;
    /**模板类型*/
    @Excel(name = "模板类型", width = 15)
    @ApiModelProperty(value = "模板类型")
    private Integer type;
	/**规格*/
	@Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private String specs;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remarks;
	/**默认打印机*/
	@Excel(name = "默认打印机", width = 15)
    @ApiModelProperty(value = "默认打印机")
    private String defaultPrint;
	/**打印类型(1-明细；2-汇总)*/
	@Excel(name = "打印类型(1-明细；2-汇总)", width = 15)
    @ApiModelProperty(value = "打印类型(1-明细；2-汇总)")
    private Integer printType;
	/**打印份数*/
	@Excel(name = "打印份数", width = 15)
    @ApiModelProperty(value = "打印份数")
    private Integer printSum;
	/**打印预览*/
	@Excel(name = "打印预览", width = 15)
    @ApiModelProperty(value = "打印预览")
    private Boolean preview;
	/**打印时内容宽度偏差*/
	@Excel(name = "打印时内容宽度偏差", width = 15)
    @ApiModelProperty(value = "打印时内容宽度偏差")
    private String printContentOffset;
	/**打印时纸张宽度偏差*/
	@Excel(name = "打印时纸张宽度偏差", width = 15)
    @ApiModelProperty(value = "打印时纸张宽度偏差")
    private String printPaperOffset;
	/**是否显示退菜(0-是；1-否)*/
	@Excel(name = "是否显示退菜(0-是；1-否)", width = 15)
    @ApiModelProperty(value = "是否显示退菜(0-是；1-否)")
    private Integer isShowRefund;
    /**删除状态(0-正常,1-已删除)*/
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    @TableLogic
    private Integer delFlag;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**是否显示证件信息(0-是；1-否)*/
    @Excel(name = "是否显示证件信息(0-是；1-否)", width = 15)
    @ApiModelProperty(value = "是否显示证件信息(0-是；1-否)")
    private java.lang.Integer isShowIdcard;
    /**是否显示早餐(0-是；1-否)*/
    @Excel(name = "是否显示早餐(0-是；1-否)", width = 15)
    @ApiModelProperty(value = "是否显示早餐(0-是；1-否)")
    private java.lang.Integer isShowBreakfast;
    /**是否显示客人地址(0-是；1-否)*/
    @Excel(name = "是否显示客人地址(0-是；1-否)", width = 15)
    @ApiModelProperty(value = "是否显示客人地址(0-是；1-否)")
    private java.lang.Integer isShowAddress;
    /**是否显示客人电话(0-是；1-否)*/
    @Excel(name = "是否显示客人电话(0-是；1-否)", width = 15)
    @ApiModelProperty(value = "是否显示客人电话(0-是；1-否)")
    private java.lang.Integer isShowPhone;

    /**打印Logo*/
    @Excel(name = "打印Logo", width = 15)
    @ApiModelProperty(value = "打印Logo")
    private String hotelLogo;

    /**是否显示二维码(0-是；1-否)*/
    @Excel(name = "是否显示二维码(0-是；1-否)", width = 15)
    @ApiModelProperty(value = "是否显示二维码(0-是；1-否)")
    private java.lang.Integer isShowQrCode;
}
